@extends('home.base.headers')

@section('content')


<div class="hr-5"></div>
<div class="g">
	<!--搜索-结果数 -->
	<div class="search-count-area"><h1 class="icon-search">搜索<b>荣耀8</b>共找到商品<em>6</em>件</h1></div>
</div>
<div class="hr-10"></div>
<div class="g search">
    <!-- <div class="u-3-4"> -->
    	<!--搜索-相关搜索 -->
     	<div class="search-relational-area"><!--<b>相关搜索：</b><span><s></s><a href="http://www.vmall.com/search?keyword=%E8%8D%A3%E8%80%80V8" title="荣耀V8">荣耀V8</a></span><span><s></s><a href="#" title="荣耀8 热销版">荣耀8 热销版</a></span><span><s></s><a href="#" title="荣耀 NOTE 8">荣耀 NOTE 8</a></span><span><s></s><a href="#" title="荣耀8 透明保护壳">荣耀8 透明保护壳</a></span><span><s></s><a href="#" title="荣耀8 翻盖保护套">荣耀8 翻盖保护套</a></span><span><s></s><a href="#" title="荣耀 NOTE 8 保护套">荣耀 NOTE 8 保护套</a></span><span><s></s><a href="@" title="荣耀8 吴亦凡定制版">荣耀8 吴亦凡定制版</a></span><span><s></s><a href="#" title="荣耀V8 移动版">荣耀V8 移动版</a></span><span><s></s><a href="#" title="荣耀8 简约TPU保护壳">荣耀8 简约TPU保护壳</a></span><span><s></s><a href="#" title="荣耀V8 开窗翻盖保护套">荣耀V8 开窗翻盖保护套</a></span> --></div>
        <!--搜索 -->
        <div id="ct-list" class="g-l-none search-area">
            <div class="h">
                <!--排序 -升序className：sort-asc  -降序className：sort-desc -没有则不添加className -->
                <div class="sort-area clearfix">
                    <ul>
                    	<li><b>搜索到的商品：</b></li>
                    </ul>
                </div>
            </div>
            <div class="b"> 
                <!--商品列表  -->
                <div class="pro-list">
                    <ul id="pro-list">
	                    @foreach ($goods as $searchV)
							<li>
							    <div>
								<p class="p-img"><a href="#" title="{{ $searchV->name }}" target="_blank"><img src="/uploads/{{ $searchV->pic0 }}" alt="{{ $searchV->name }}"></a></p>
								<p class="p-price"><b>@if ($searchV->price != ''){{ $searchV->price }}@else {{ $searchV->hwprice }}@endif</b></p>
								<p class="p-name"><a href="#" title="{{ $searchV->name }}" target="_blank"><span class="red">{{ $searchV->name }}</span></a></p>
							    </div>
							</li>
						@endforeach
                    </ul>
                </div>
            	<div class="hr-25"></div>
                <!--分页 -->
                <div id="search-pager" class="pager"></div>
            </div>
        </div>
    <!--</div>-->
</div>
    <center>{{ $goods->appends($where)->links() }}</center>

<div class="hr-40"></div>
<script src="{{ asset('/home/img/search.js"></script><script id="jsapi_loader1" loadtype="insert" type="text/javascript" src="{{ asset('/home/img/pager-min.js" charset="gbk"></script><script>(function(){var time = 0,el = document.getElementById('jsapi_loader1');if(!el || (el.readyState && 'complete' != el.readyState)){ if(time<10){ setTimeout(arguments.callee,30); time++; }else{ logger.error('load the script of id jsapi_loader1 fail!');} return; }ol._setLoadStatus("ec.pager/pager-min.js","complete");})();</script>
<script>
ec.search.keyword="荣耀8";
 ec.track99click({"keyword" : ec.search.keyword});
</script>
@endsection